package com.elock.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.elock.base.core.interceptor.AbstractHandlerInterceptor;

import org.springframework.web.servlet.ModelAndView;

/**
 * 访问控制通用拦截器
 */
public class AccessInterceptor extends AbstractHandlerInterceptor {

	@Override
	public boolean preHandleInternal(HttpServletRequest request,
			HttpServletResponse response, Object handler) throws Exception {
		return true;
	}

	@Override
	public void postHandleInternal(HttpServletRequest request,
			HttpServletResponse response, Object handler, ModelAndView mv)
			throws Exception {

	}

	@Override
	public void afterCompletionInternal(HttpServletRequest request,
			HttpServletResponse response, Object handler) throws Exception {

	}
}
